.shopContainer {
  background-color: #f8f8f8;
  min-height: 100vh;
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

/* 搜索栏样式 */
.shopbox {
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.inputWrapper {
  padding: 0 15px;
  margin-bottom: 10px;
}

.seacher {
  width: 100%;
  height: 36px;
  border-radius: 18px;
  border: none;
  background-color: #f5f5f5;
  padding: 0 15px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
}

.seacher:focus {
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15) inset;
}

.seacher::placeholder {
  color: #999;
}

/* 功能图标区域 */
.icons {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: #fff;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
  transition: transform 0.2s ease;
}

.icon:active {
  transform: scale(0.95);
}

.icon svg {
  font-size: 24px;
  color: #ff4d4f;
  margin-bottom: 5px;
  background-color: #fff2f0;
  padding: 8px;
  border-radius: 50%;
}

.icon p {
  font-size: 12px;
  color: #666;
  margin: 5px 0 0;
}

/* 商品列表区域 */
.nav {
  background-color: #fff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  margin-top: 10px;
}

.nav_content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}

.itemList {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.itemList:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.itemList img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.itemList p {
  padding: 0 10px;
  margin: 5px 0;
  font-size: 13px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pp1 {
  font-size: 14px !important;
  font-weight: 500;
  color: #333 !important;
  margin-top: 8px !important;
}

/* 价格样式 */
.itemList p:last-child {
  color: #ff4d4f !important;
  font-weight: bold;
  font-size: 16px !important;
  margin-top: auto;
  padding-bottom: 10px;
}

/* 空状态提示 */
.emptyState {
  text-align: center;
  padding: 30px 0;
  color: #999;
  font-size: 14px;
  width: 100%;
}

/* 下拉刷新样式优化 */
:global(.rv-pull-refresh) {
  min-height: calc(100vh - 200px);
}

/* 标签页样式优化 */
:global(.rv-tabs__wrap) {
  height: 44px;
  background-color: #fff;
  position: sticky;
  top: 56px;
  z-index: 9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

:global(.rv-tab) {
  color: #666;
  font-size: 14px;
}

:global(.rv-tab--active) {
  color: #ff4d4f;
  font-weight: 500;
}

:global(.rv-tabs__line) {
  background-color: #ff4d4f;
}

/* 加载状态和刷新状态 */
.loadingState {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  color: #999;
}

/* 响应式调整 */
@media (min-width: 768px) {
  .nav_content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav_content {
    grid-template-columns: repeat(4, 1fr);
  }
}